cmake_minimum_required(VERSION 3.8)
project(string_timestamp)

string(TIMESTAMP out1)
string(TIMESTAMP out2 UTC)
string(TIMESTAMP out3 "%Y-%m-%d %H:%M:%S")
string(TIMESTAMP out4 "%B %d, %Y, %w")
string(TIMESTAMP out5 "%B %d, %Y, %w" UTC)
string(TIMESTAMP out6 "%s")

message(STATUS "out1 = ${out1}")
message(STATUS "out2 = ${out2}")
message(STATUS "out3 = ${out3}")
message(STATUS "out4 = ${out4}")
message(STATUS "out5 = ${out5}")
message(STATUS "out6 = ${out6}")
